-- GENERATED SPELL FOR [Astral Flare] --


function spell0_17096(pUnit, Event) --@Arcing Sear,n/a--
pUnit:FullCastSpellOnTarget(30235,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17096', 529, 1)
end

function Sorts_17096(pUnit, Event)
local choix_sorts_17096 = math.random(0, 0)
if choix_sorts_17096 == 0 then
pUnit:RegisterEvent('spell0_17096', 1, 1)
end
end

function mob17096_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17096', math.random(1500, 3000), 1)
end

function mob17096_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17096_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17096_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17096, 1, 'mob17096_Action')
RegisterUnitEvent(17096, 2, 'mob17096_Leave')
RegisterUnitEvent(17096, 3, 'mob17096_Kill')
RegisterUnitEvent(17096, 4, 'mob17096_Die')
